class Student:
    def __init__(self,stu_id,name,age,height,weight,score,family_address,tel_num):
        self.stu_id = stu_id
        self.name = name
        self.age = age
        self.height = height
        self.weight = weight
        self.score = score
        self.family_address = family_address
        self.tel_num = tel_num
    #学习行为
    def study(self,study_time):
        print(f"学习的时间为{study_time}")

    #玩游戏
    def play_game(self,game_name):
        print(f"游戏名为{game_name}")

    #编程
    def program(self,count_line):
        print(f"写代码的行数为{count_line}")

    #数的求和
    def num_sum(self,*args):
        sum = 0
        for i in args:
            sum += i
        return sum


class Car():
    def __init__(self,car_no,wheel_num,car_color,car_weight,feul_tank):
        self.car_no = car_no
        self.wheel_num = wheel_num
        self.car_color = car_color
        self.car_weight = car_weight
        self.feul_tank = feul_tank

    def run(self,competition):
        print(f"主要功能为{competition}")

falali = Car("法拉利",4,"red","1t","10L")
baoma = Car("宝马X5",4,"blank","1t","12L")
lingmu = Car("铃木",2,"blank","200kg","2L")
wuling = Car("五菱",4,"brown","1.5t","2L")
tuolaji = Car("拖拉机",4,"yellow","800kg","1L")



class Laptop():
    def __init__(self,Lap_no,Lap_use_time,Lap_color,Lap_weight,Lap_cpu_no,Lap_memory,Lap_harddisk):
        self.Lap_no = Lap_no
        self.Lap_use_time = Lap_use_time
        self.Lap_color = Lap_color
        self.Lap_weight = Lap_weight
        self.Lap_cpu_no = Lap_cpu_no
        self.Lap_store = Lap_memory
        self.Lap_harddisk = Lap_harddisk

    def play_game(self,game_name):
        print(f"打的游戏名称为{game_name}")

    def work(self):
        print("可以用来办公")


class Monkey():
    def __init__(self,catogery,sex,color,weight):
        self.catogery = catogery
        self.sex = sex
        self.color = color
        self.weight = weight
    def make_fire(self,material):
        print(f"造火的材料为{material}")
    def study(self,**args):
        print(f"正在学习的东西为{args}")
